

/*
ADD             X2, X2, #stru_109FB4260@PAGEOFF; "^\xCD\xD1\xF4\x52\x42\x88\x87\x88\xFF&\x97\x0F\xA4ś\b\x87\xEB\x27\x1F\xB7s\xA1\xE6\x98\xE0\x1Ak\x06`\x80"
25 - 156
109FB4260@PAGEOFF; "^\xCD\xD1\xF4\x52\x42\x88\x87\x88\xFF&\x97\x0F\xA4ś\b\x87\xEB\x27\x1F\xB7s\xA1\xE6\x98\xE0\x1Ak\x06`\x80"
9 - 156
109FB4260
0x109fb4260
__CFString <_OBJC_CLASS_$___NSCFConstantString, 0x7C8, asc_109FB41F0, \; "^\xCD\xD1\xF4\x52\x42\x88\x87\x88\xFF&\x97\x0F\xA4ś\b\x87\xEB\x27\x1F\xB7s\xA1\xE6\x98\xE0\x1Ak\x06`\x80"
109FB41F0
DCB "application/x-www-form-urlencoded",0
*/
struEncrypt(){
    auto testStr, index, len, encryptAddr;
    testStr = GetDisasm(0x103C03D18);
    Message("%s\n", testStr);
    index = strstr(testStr, "stru_");
    if(index == -1){
        return;
    }

    len = strlen(testStr);
    Message("%d - %d\n", index, len);

    testStr = substr(testStr, index + 5, len);
    Message("%s\n", testStr);

    index = strstr(testStr, "@");
    Message("%d - %d\n", index, len);

    testStr = substr(testStr, 0, index);
    Message("%s\n", testStr);

    encryptAddr = xtol(testStr);
    Message("0x%x\n", encryptAddr);


    auto encryptStr, realStrAddr;
    encryptStr = GetDisasm(encryptAddr);
    Message("%s\n", encryptStr);

    len = strlen(encryptStr);
    index = strstr(encryptStr, ",");
    encryptStr = substr(encryptStr, index + 1, len);

    len = strlen(encryptStr);
    index = strstr(encryptStr, ",");
    encryptStr = substr(encryptStr, index + 2, len);

    index = strstr(encryptStr, ",");
    encryptStr = substr(encryptStr, 0, index);

    len = strlen(encryptStr);
    index = strstr(encryptStr, "_");
    encryptStr = substr(encryptStr, index + 1, len);
    Message("%s\n", encryptStr);


    realStrAddr = xtol(encryptStr);
    encryptStr = GetDisasm(realStrAddr);
    Message("%s\n", encryptStr);
}

